<template>
	<view class="add">
		<view class="ygregister_bos">
			<view class="ygregister_title">住院人</view>
			<view class="ygregister_box">
				<input class="input_ygregister" placeholder="请输入住院人的真实姓名" maxlength="8" bindinput="Onname" placeholder-class="placeholderClass" />
			</view>
		</view>
		<view class="ygregister_bos">
			<view class="ygregister_title">住院号</view>
			<view class="ygregister_box">
				<input class="input_ygregister" placeholder="请输入住院人住院号" maxlength="20" bindinput="Onname" placeholder-class="placeholderClass" />
			</view>
		</view>
		<!-- 立即绑定 -->
		<view class="qx_button">
			<view @click="Oninfo" class="font-323232 font16">立即绑定</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			//返回
			Oninfo() {
				uni.redirectTo({
					url: '/pagesA/home/zyyj/index',
				})
			}
		}
	}
</script>

<style>
	.add {
		padding-top: 60rpx;
	}

	.ygregister_bos {
		width: 680rpx;
		height: 100rpx;
		margin-left: 35rpx;
		display: flex;
		border-bottom: 1rpx solid #f5f5f5;
	}

	.ygregister_title {
		width: 160rpx;
		height: 100rpx;
		line-height: 100rpx;
		font-size: 30rpx;
		color: #323232;
		font-weight: 700;
	}

	.ygregister_box {
		width: 476rpx;
		height: 100rpx;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.placeholderClass {
		color: #c8c8c8;
		font-size: 30rpx;
		line-height: 100rpx;
	}

	.input_ygregister {
		width: 476rpx;
		height: 100rpx;
		line-height: 100rpx;
		color: #323232;
	}

	/* 立即绑定 */
	.qx_button {
		width: 750rpx;
		height: 120rpx;
		position: fixed;
		bottom: 0;
		left: 0;
		background-color: #f9f9f9;
		z-index: 333;
	}

	.qx_button view {
		width: 650rpx;
		height: 80rpx;
		line-height: 80rpx;
		text-align: center;
		margin-left: 50rpx;
		margin-top: 20rpx;
		background-color: #6bcbb6;
		color: #fff;
	}
</style>
